package com.njym.java.security.admin.rpc.service;

import com.njym.java.security.admin.mapper.FamilyUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class FamilyUserService {

    @Autowired
    private FamilyUserMapper familyUserMapper;

    public List<Map> statUser(){
        return familyUserMapper.statUser();
    }

    public Long countUser(){
        return familyUserMapper.countUser();
    }
}
